package com.turtle.security.organizates.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 系统角色查询信息
 *
 * @author turtle
 * date: 2020-05-29
 */
@Data
public class SysRoleSearchDTO {

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "角色权限字符串")
    private String roleKey;

    @ApiModelProperty(value = "角色状态（0正常 1停用）")
    @NotBlank(message = "角色状态不能为空")
    private String status;

}
